package com.wudi;

public class FactoryBWM implements ICarFactory{
    @Override
    public Car carFactoryMethor() {
        return new EntityBWM();
    }
    @Override
    public Car carFactoryMethor(String carName) {
        return new EntityBWM(carName);
    }
}
